<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>   
<script type="text/javascript" charset="UTF-8" src="../js/jquery-ui-1.7.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/jquery-ui-1.7.2.custom.css"/>
<!-- 验证 -->
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/formValidator_min.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/formValidator.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/formValidatorRegex.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/jquery.alphanumeric.js"></script>
<!-- 地址选单 -->
<script type="text/javascript" charset="UTF-8" src="/genJS/yaodian_zipCodCode.js"></script>
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/jquery.cascade.ext.js"></script>
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/jquery.cascade.js"></script>
<script type="text/javascript" charset="UTF-8" src="<%=application.getContextPath() %>/js/jquery.templating.js"></script>
<yaodian100:checkPermission permissions="GROUP_A-30-400-000,GROUP_C.01,GROUP_C.01">
<%--貨到付款出貨前可以修改地址，其他付款方式只有付款前可以修改地址 --%>
<c-rt:set var="canChgAddr" value="N"/>
<c:choose>
	<c:when test="${order.paymentTp=='30' || order.paymentTp=='60'}">
		<c:if test="${order.orderSt=='00'}">
			<c-rt:set var="canChgAddr" value="Y"/>
		</c:if>
		<c:if test="${order.orderSt=='20' && order.sync=='false' }">
			<c-rt:set var="canChgAddr" value="Y"/>
		</c:if>
	</c:when>
	<c:otherwise>
		<c:if test="${order.domainSrc!='www.yaodian100.com' && (order.orderSt=='00'||order.orderSt=='05')}">
		   	 <c-rt:set var="canChgAddr" value="Y"/>
		</c:if>
		<c:if test="${order.paymentSt=='00' && order.orderSt == '10'}">	
			<c-rt:set var="canChgAddr" value="Y"/>
		</c:if>					          
	</c:otherwise> 
</c:choose>

<script type="text/javascript">
$().ready(function(){
	$("#contactNameTip").hide();
	$("#mobileTip").hide();
	$("#phoneTip").hide();
	$("#showAddress").hide();
	$("#canModifyMessage").hide();
	$("#addressTip").hide();
	$("#zipCodeTip").hide();
	$("#zipCodeTip2").hide();
	$("#receiverZip").numeric();
	
	<c-rt:choose>
	 <c-rt:when test="${order.myWallet > 0 or order.giftcardBalance > 0}">
	 	$("#canModifyMessage").show();
	  $("#showAddress").hide();
	 </c-rt:when>
	 <c-rt:otherwise>
		 if((${order.paymentTp} == '30' || ${order.paymentTp} == '60') && ${order.orderSt} =='00'){
				$("#showAddress").show();
				$("#canModifyMessage").hide();
		  }else if(${order.paymentTp} == '50' && ${order.orderSt} =='10'){
				$("#showAddress").show();
				$("#canModifyMessage").hide();
		  }else{
			  $("#canModifyMessage").show();
		  }
		 </c-rt:otherwise>
		</c-rt:choose>

//address start

		$("#province").children().each(function(index){
			if (trim($(this).text()) == trim('${order.receiverProvince}')){
				$("#province")[0].selectedIndex = index ;
				queryProvince2('${order.receiverCity}','${order.receiverArea}');
			}
		});

		$("#province").change(function() {
			var options = '<option value="">== 选择地区 ==</option>';
			$("#receiverArea").html(options);
			$("#displayPOS").hide();
			queryProvince2('','');
	   });	

		$("#receiverCity").change(function() {
			queryCity2('');
	    });	

		$("#receiverArea").change(function() {
			queryDistinct();
			//判断是否可货到付款
			var tmpCity=$("#receiverCity").find('option:selected').val();
			var tmpDistrict=$("#receiverArea").find('option:selected').text();
				if(tmpDistrict.substring(0,1)=='※'){
					$("#paytype30").attr("disabled",false); 
					$("#paytypeCash").attr("disabled",false);
					$("#paytypePos").attr("disabled",false); 
					$("#showOrderPriceLimit").html("(需加收手续费 ${codFee} 元)");
				}else{
					$("#paytype30").attr("disabled",true); 
					$("#paytype30").attr("checked",false); 
					$("#paytypeCash").attr("disabled",true); 
					$("#paytypeCash").attr("checked",false);
					$("#paytypePos").attr("disabled",true); 
					$("#paytypePos").attr("checked",false);
					$("#showOrderPriceLimit").html("(需加收手续费 ${codFee} 元)");
				}	
			isPos();
		 });   

	//去除字串左邊的空白虛格
		function ltrim(instr){
		return instr.replace(/^[\s]*/gi,"");
		}

		//去除字串右邊的空白虛格
		function rtrim(instr){
		return instr.replace(/[\s]*$/gi,"");
		}

		//去除字串前後的空白虛格
		function trim(instr){
		instr = ltrim(instr);
		instr = rtrim(instr);
		return instr;
		}

		
		//查詢province ajax
		function queryProvince2(adCity,adDistrict){
			var province=$("#province").find('option:selected').val();
			$.post("<%=ServerValue.getMidContextPath()%>/order/addressdata/findOrderCitys.do",{id:'${order.orderId}',province:province},callback,"json");
			function callback(actionResult){
				addressObj(actionResult,'CITY',adCity,adDistrict);
			}
		}
		
		//查詢city ajax
		function queryCity2(adDistrict){
			var city=$("#receiverCity").find('option:selected').val();
			$.post("<%=ServerValue.getMidContextPath()%>/order/addressdata/findOrderDistrictsCod.do",{id:'${order.orderId}',receiverCity:city},callback,"json");
			function callback(actionResult){
				addressObj(actionResult,'DISTRICT','',adDistrict);
			}
		}

		//Province&City 查詢元件
		function addressObj(actionResult,execObj,adCity,adDistrict){
			if(actionResult!=null ){
						var arr_text = actionResult.split("$");		
						if(execObj=='CITY'){								
							var options = '<option value="">== 选择城市 ==</option>';
						}
						if(execObj=='DISTRICT'){
							var options = '<option value="">== 选择地区 ==</option>';
						}
						 for(i=0;i<arr_text.length;i++)
						 {
							 v=arr_text[i].split(",");
							 if(execObj=='CITY'){	
								options += '<option value="' + v[1] + '">' + v[1] + '</option>';
							 }
							if(execObj=='DISTRICT'){
								options += '<option value="' + v[1]+','+v[2]+','+v[3] + '">' + v[1] + '</option>';
							}
						 }
						 var aObj;
						 if(execObj=='CITY'){	
							 $("#receiverCity").html(options);
							 aObj=$("#receiverCity");
						 }
						 if(execObj=='DISTRICT'){
							 $("#receiverArea").html(options);
							 aObj=$("#receiverArea");
						 }
							 aObj[0].selectedIndex = 0 ; 
							var tmpObj;
							if(execObj=='CITY'){	
								tmpObj=adCity;
							 }
							 if(execObj=='DISTRICT'){
								 tmpObj=adDistrict;
							 }
							 if(tmpObj !=""){
								 aObj.children().each(function(index){
									 if(execObj=='CITY'){	
										 if ($(this).text()==adCity){
										       setTimeout(function() {  aObj[0].selectedIndex = index ; 
										       queryCity2(adDistrict);} , 1);
										    }
										 }
										 if(execObj=='DISTRICT'){
											 if ($(this).text().substring(1)==adDistrict || $(this).text()==adDistrict){
											    	setTimeout(function() {  $("#receiverArea")[0].selectedIndex = index ;
											    	queryDistinct();},1);
											    }
										 }
								 });
							 }
			}
		}

		//查詢distinct ajax
		function queryDistinct(){
			var districtVal = $("#receiverArea").find('option:selected').val();
			var districtTxt = $("#receiverArea").find('option:selected').text();
			var dtVal=districtVal.split(",");
			//if(districtTxt.substring(0,1)=='※' && dtVal[2]!='' && dtVal[3]!=''){
					//alert('可服務區域：'+dtVal[2]+',不可服務區域：'+dtVal[3]);
			//}
			if(districtTxt.substring(0,1)=='※'){
				//startDistrict=startDistrict.substring(1);
				if(parseFloat($("#finalTotalAmount").val())>10000){
					$("#paytype30").attr("disabled",true);
					$("#paytypeCash").attr("disabled",true);
					$("#paytypePos").attr("disabled",true); 
					$("#showOrderPriceLimit").html("(订单金额超过10000元，将不提供货到付款服务。)");
					$("#displayPOS").hide();
				}else{
					$("#paytype30").attr("disabled",false); 
					$("#paytypeCash").attr("disabled",false);
					$("#paytypePos").attr("disabled",false); 
					$("#displayPOS").show();
				}
				$("#version").val(dtVal[2]);
			}
			isPos();
		}
		//判斷是否使用POS
		function isPos(){
			var tmpDistrictVal=$("#receiverArea").find('option:selected').val();
			var dtVal=tmpDistrictVal.split(",");
			if(dtVal[1]=='N'){
				$("#paytypePos").attr("disabled",true); 
				$("#posMessage").html("<span class='txt-rd'>(此服务目前仅支援上海地区)</span>");
			}else{
				$("#posMessage").html("");
			}	
		}

		//修改收货人信息－无法用货到付款方式送达新地址的提示讯息
		function checkIfCodPos(){
			//alert("a");
			var districtVal = $("#receiverArea").find('option:selected').val();
			var dtVal=districtVal.split(",");
			if(('${order.paymentTp}' == '30' || '${order.paymentTp}' == '60') &&('${order.orderSt}' =='00'||'${order.orderSt}' =='20')){
				/*if(dtVal[0].substring(0,1)=='※' && dtVal[1]=='N'){
					//$("#showPOSmessage").dialog('open');
					alert("您所选择的新地址不支援货到付款 - POS机刷卡，/n请重新选择收货地址 或 变更另外一种支付方式。");
					return false;
				}else{
					return true;
				}
				if(dtVal[0].substring(0,1)=='※'){
					$("#showCODmessage").dialog('open');
					alert("我们无法使用货到付款方式发货到您所选择的新地址/n请重新选择收货地址 或 选择另外一种支付方式。");
					return false;
				}else{
					return true;
				}*/


				if(dtVal[0].substring(0,1)=='※'){
					if(dtVal[1]=='N' && '${order.paymentTp}' == '60'){
						alert("您所选择的新地址不支援货到付款 - POS机刷卡，\n请重新选择收货地址 或 变更另外一种支付方式。");
						return false;
					}else{
						return true;
					}	
				}else{
					alert("我们无法使用货到付款方式发货到您所选择的新地址\n请重新选择收货地址 或 选择另外一种支付方式。");
					return false;
				}		
			  }else {
				  return true;
			  }
		}

//address end

	//发票信息
	//$("#invotype02").attr("checked",true); 
	//		$("#invoTitle").show();
	$('#invotype01').click(function(){
		$("#invoTitle").val("");
		$("#invoTitle").hide();
		$("#invoiceTip").hide();
	});
	$('#invotype02').click(function(){
		$("#invoTitle").show();
	});

	
	$("#go_next").click(function() {		
		$("#contactNameTip").hide();
		$("#mobileTip").hide();
		$("#phoneTip").hide();
		$("#addressTip").hide();
		$("#zipCodeTip").hide();
		$("#zipCodeTip2").hide();
		
		if($("#contactName").val()==""){
			$("#contactNameTip").show();
			return false;
		}	
		if($("#mobile").val()=="" && $("#areaCode").val()==" " && $("#phone").val()==" " && $("#extension").val()==" "){
			$("#phoneTip").show();
			$("#mobileTip").show();
			return false;
		}	
		if($("#mobile").val()==""){
			$("#mobileTip").show();
			return false;
		}	
		if($("#invoTitle").val().length+chineseCount($("#invoTitle").val())>40){
    		alert("请使用 中文20个字以内 或 英文40个字以内");
         	return false;
	    }
		if ($('#invotype02').is(":checked") == true && trim($("#invoTitle").val())=="" ){
			$("#invoiceTip").show();
			return false;
		}
		<c-rt:if test="${canChgAddr=='Y'}">	
		if($("#province").find('option:selected').text()=="== 选择省 =="){
			$("#addressTip").show();
			return false;
		}		
		if($("#receiverCity").find('option:selected').text()=="== 选择城市 =="){
			$("#addressTip").show();
			return false;
		}
		if($("#receiverArea").find('option:selected').text()=="== 选择地区 =="){
			$("#addressTip").show();
			return false;
		}
		if($("#addr").val()==""){
			$("#addressTip").show();
			return false;
		}
		if($("#receiverZip").val()==""){
			$("#zipCodeTip").show();
			return false;
		}
		var zipcodeP="[0-9]{6}";
		if($("#receiverZip").val().match(zipcodeP)==null){
			$("#zipCodeTip2").show();
			return false;
		}
		if(checkIfCodPos()== false){
			return false;
		}
		</c-rt:if>
			$("#modAddresForm").submit();
	});
});
function chineseCount(word){
    var length=0;
    for(var cc=0;cc<word.length;cc++){
       var c = word.charCodeAt(cc);
      if (!(c>=32&&c<=126)) length++;
    }
    return length;
}
</script>
<h1>订单管理</h1>
<div class="f-link"><a href="view.do?orderId=${order.orderId}">回订单查询页</a></div><br><br>
<form action="updateReceiver.do" id="modAddresForm" name="modAddresForm" method="post">
<input type="hidden" name="orderId" value="${order.orderId}"/>
<table width="100%" border="1" cellspacing="0" cellpadding="0" class="tb-data">
	<tr>
   		<td height="30" align=left width="15%"></td>
    	<td align=left  class="bg-yl" width="35%">当前资料</td>
    	<td align=left width="15%"></td>
    	<th align=left>修订资料</th>
  	</tr>
	<tr>
   		<td height="30" align="left"  class="bg-yl">订单编号：</td>
    	<td align=left>${order.orderId}</td>
    	<th align=left>订单编号：</th>
    	<td align=left>${order.orderId}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">会员编号：</td>
    	<td align=left><a href='../member/view.do?memberId=${order.memberId}'>${order.memberId}</a></td>
    	<th align=left>会员编号：</th>
    	<td align=left><a href='../member/view.do?memberId=${order.memberId}'>${order.memberId}</a></td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">订购人：</td>
    	<td align=left>${order.memberName}</td>
    	<th align=left>订购人：</th>
    	<td align=left>${order.memberName}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">订单状态：</td>
    	<td align=left>${orderStMenu.options[order.orderSt].name}</td>
    	<th align=left>订单状态：</th>
    	<td align=left>${orderStMenu.options[order.orderSt].name}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">订购日期：</td>
    	<td align=left><fmt:formatDate pattern="yyyy/MM/dd HH:mm:ss" value="${order.orderDt}" /></td>
    	<th align=left>订购日期：</th>
    	<td align=left><fmt:formatDate pattern="yyyy/MM/dd HH:mm:ss" value="${order.orderDt}" /></td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">支付方式：</td>
    	<td align=left>${paymentTpMenu.options[order.paymentTp].name}</td>
    	<th align=left>支付方式：</th>
    	<td align=left>${paymentTpMenu.options[order.paymentTp].name}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">付款状态：</td>
    	<td align=left>${paymentStMenu.options[order.paymentSt].name}</td>
    	<th align=left>付款状态：</th>
    	<td align=left>${paymentStMenu.options[order.paymentSt].name}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">订单来源：</td>
    	<td align=left>${order.channel}</td>
    	<th align=left>订单来源：</th>
    	<td align=left>${order.channel}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">网站：</td>
    	<td align=left>${domainSrc.options[order.domainSrc].name}</td>
    	<th align=left>网站：</th>
    	<td align=left>${domainSrc.options[order.domainSrc].name}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">付款期限：</td>
    	<td align=left>
	    	<c-rt:if test="${order.paymentTp!='30'}">
		    <fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${order.deadline}" />
		    </c-rt:if>
	    </td>
    	<th align=left>付款期限：</th>
    	<td align=left>
    		<c-rt:if test="${order.paymentTp!='30'}">
		    <fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${order.deadline}" />
		    </c-rt:if>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">收件人：</td>
    	<td align=left>${order.receiverName}</td>
    	<th align=left>收件人：</th>
    	<td align=left>
    	<input type="text"  class="txt-gy" name="receiverName" id="contactName" value="${order.receiverName}" maxlength="20" size="16"/>
    	<span id="contactNameTip" style="margin-left:4.3em;*margin-left:4.8em; _margin-left:2.5em; "><font color="#ff3300">请填写姓名</font> </span>  
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">行动：</td>
    	<td align=left>${order.receiverMobile}</td>
    	<th align=left>行动：</th>
    	<td align=left>
    	<input type="text" name="mobile" id="mobile"  value="${order.receiverMobile}" size="18" maxlength="11"/>
    	<span id="mobileTip" style="margin-left:5.6em;*margin-left:5.9em;_margin-left:2.9em; "><font color="#ff3300">请填写手机号码</font> </span>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">固定：</td>
    	<td align=left>${order.receiverPhoneArea}-${order.receiverPhone}-${order.receiverExt}</td>
    	<th align=left>固定：</th>
    	<td align=left>
    		<span>
            	<input type="text" name="receiverPhoneArea" id="areaCode" value="${order.receiverPhoneArea}" size="5" maxlength="4"/>-
	    		<input type="text" name="receiverPhone" id="phone" value="${order.receiverPhone}" size="10" maxlength="10" maxlength="8"/>- 分机
				<input type="text" name="receiverExt" id="extension" value="${order.receiverExt}" size="4" maxlength="8"/>
            </span>
		</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">收件人地址-省份：</td>
    	<td align=left>${order.receiverProvince} </td>
    	<th align=left>收件人地址-省份：</th>
    	<td align=left>
    		<c-rt:if test="${canChgAddr=='Y'}">	
 				 <select id="province" name="province" class="c-prov">
             				 <option value="">== 选择省 ==</option>
							<c-rt:forEach items="${provincesMap}" var="province" >
								<option value="${province.key}">${province.key}</option>
							</c-rt:forEach>
		        </select>
	    	</c-rt:if>
	    	<c-rt:if test="${canChgAddr=='N'}">${order.receiverProvince}</c-rt:if>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">收件人地址-市：</td>
    	<td align=left>${order.receiverCity}</td>
    	<th align=left>收件人地址-市：</th>
    	<td align=left>
    		<c-rt:if test="${canChgAddr=='Y'}">	
			<select id="receiverCity" name="receiverCity">
				<option value="">== 选择城市 ==</option>
			</select>
			</c-rt:if>
			<c-rt:if test="${canChgAddr=='N'}">${order.receiverCity}</c-rt:if>
		</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">收件人地址-区：</td>
    	<td align=left>${order.receiverArea}</td>
    	<th align=left>收件人地址-区：</th>
    	<td align=left>
    		<c-rt:if test="${canChgAddr=='Y'}">	
    		<select id="receiverArea" name="receiverArea">
				<option value="">== 选择地区 ==</option>
			</select>
			<span id="addressTip" style="margin-left:4.3em;*margin-left:4.8em; _margin-left:2.5em; "><font color="#ff3300">请输入完整的联络地址</font></span> 
			</c-rt:if>
			<c-rt:if test="${canChgAddr=='N'}">${order.receiverArea}</c-rt:if>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">收件人地址-邮编：</td>
    	<td align=left>${order.receiverZip}</td>
    	<th align=left>收件人地址-邮编：</th>
    	<td align=left>
    		<c-rt:if test="${canChgAddr=='Y'}">	
    		 <input name="receiverZip" type="text" id="receiverZip" value="${order.receiverZip}" size="8" maxlength="8" />
    		 <span id="zipCodeTip" style="margin-left:4.3em;*margin-left:4.8em; _margin-left:2.5em; "><font color="#ff3300">请输入邮编</font></span>
    		 <span id="zipCodeTip2" style="margin-left:4.3em;*margin-left:4.8em; _margin-left:2.5em; "><font color="#ff3300">邮编需为半角数字6码</font></span>
    		 </c-rt:if>          
    		 <c-rt:if test="${canChgAddr=='N'}">${order.receiverZip}</c-rt:if>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">收件人地址-街道：</td>
    	<td align=left>${order.receiverAddr}</td>
    	<th align=left>收件人地址-街道：</th>
    	<td align=left>
    		<c-rt:if test="${canChgAddr=='Y'}">	
    		<input name="receiverAddr" type="text" id="receiverAddr" value="${order.receiverAddr}" size="40" maxlength="40" />
    		</c-rt:if>
    		<c-rt:if test="${canChgAddr=='N'}">${order.receiverAddr}</c-rt:if>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">订单类型：</td>
    	<td align=left>${order.orderType==1?'一般':'SCM'}</td>
    	<th align=left>订单类型：</th>
    	<td align=left>${order.orderType==1?'一般':'SCM'}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">转单供应商：</td>
    	<td align=left>${supplierApply.companyName}</td>
    	<th align=left>转单供应商：</th>
    	<td align=left>${supplierApply.companyName}</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">发票抬头：</td>
    	<td align=left>${order.invoiceTp=='01'?"个人":order.invoiceTitle}</td>
    	<th align=left>发票抬头：</th>
    	<td align=left>
    	<c-rt:if test="${canChgAddr=='Y'}">	
    		<input id="invotype01" name="invotype" type="radio" value="01" ${order.invoiceTp=='01'?" checked='checked'":""}>  <strong>个人</strong>
			<input id="invotype02" name="invotype" type="radio" value="02" ${order.invoiceTp=='02'?" checked='checked'":""}>  <strong>单位</strong> 
			<input size="20" type="text" name="invoTitle" id="invoTitle" value="${order.invoiceTitle}" maxlength="40"/>   <span class="txt-gy">(20个字内)</span>
			<br/><span id="invoiceTip" style="display:none; "><font color="#ff3300">请输入单位抬头</font></span> 
    		</c-rt:if>
    		<c-rt:if test="${canChgAddr=='N'}">${order.invoiceTitle}</c-rt:if>
    	</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">备注：</td>
    	<td align=left>${order.memo}</td>
    	<th align=left>备注：</th>
    	<td align=left>
    		<textarea name=memo cols="50" rows="5">${order.memo}</textarea>
		</td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">最后修改人：</td>
    	<td align=left>${order.modifyUser}</td>
    	<th align=left>最后修改人：</th>
    	<td align=left></td>
  	</tr>
  	<tr>
   		<td height="30" align="left"  class="bg-yl">最后修改时间：</td>
    	<td align=left><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${order.modifyDate}" /></td>
    	<th align=left>最后修改时间：</th>
    	<td align=left></td>
  	</tr>
  <tr>
    <td height="30" colspan="5" align=center>
    <div class="f-link">
	<a id="go_next"  href="javascript:;" >继续</a> 
	</div>

</td>
  </tr>
</table>
<input type="hidden" name="version" id="version" value=""/>
</form>
</yaodian100:checkPermission>
<div class="f-link">
	<a href="view.do?orderId=${order.orderId}">回订单查询页</a>
</div>